import mill._, scalalib._

class FooModule(majorVersion: String) extends CrossScalaModule {
  override def crossScalaVersion: String = majorVersion match {
    case "2.12" => "2.12.13"
    case "2.13" => "2.13.7"
    case _ => ???
  }
}

object hello extends mill.Cross[FooModule]("2.12", "2.13")
